aio: initialize kiocb private in case any filesystems expect it.
authorMike Marshall <hubcap@omnibond.com>
Tue, 5 Feb 2019 19:13:35 +0000 (14:13 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Jun 2019 22:16:58 +0000 (23:16 +0100)
commit1c2f3c146f2699a99a235c4ebd7be4fa0f09c164
tree6445f7aea1938bb6b5dbf5df312d0ae5e5a737e4
parent137b24dc2fb82bac7eee897952a235ef9e9835a2
aio: initialize kiocb private in case any filesystems expect it.

commit ec51f8ee1e63498e9f521ec0e5a6d04622bb2c67 upstream.

A recent optimization had left private uninitialized.

Fixes: 2bc4ca9bb600 ("aio: don't zero entire aio_kiocb aio_get_req()")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name 0008-aio-initialize-kiocb-private-in-case-any-filesystems.patch
fs/aio.c